 ///
 /// @file    Cell.cc
 /// @author  lemon(haohb13@gmail.com)
 /// @date    2016-02-29 11:36:54
 ///
 
#include <iostream>

using std::cout;
using std::endl;


class Cell
{

};

class CellX
{
private:
	int a;//4
	char b;//1
	float c;//4
	double d;//8
	short e[5];//10
	char & f;//8
	double & g;//8
	static int h;//4
};

int main(void)
{
	Cell c1;
	cout << sizeof(Cell) << endl;
	Cell c2;//只是为了区别c1和c2是不同的对象，所以还是会
			//开辟一个字节的空间
	cout << "sizeof(CellX) = " << sizeof(CellX) << endl;
}

